package com.system.vote.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 站内信信息表
 * @TableName sys_off_message
 */
@TableName(value ="sys_off_message")
@Data
public class SysOffMessage implements Serializable {
    /**
     * 唯一主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 站内信标题
     */
    @TableField(value = "mail_title")
    private String mailTitle;

    /**
     * 站内信内容
     */
    @TableField(value = "mail_content")
    private String mailContent;

    /**
     * 收信人列表
     */
    @TableField(value = "receive_name")
    private String receiveName;

    /**
     * 状态/0已发送/1草稿箱
     */
    @TableField(value = "maile_state")
    private Integer maileState;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}